/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						 float_object.h

	$Header: /heroes4/float_object.h $

	$NoKeywords: $

 ************************************************************************/

#if !defined( FLOAT_OBJECT_H_INCLUDED )
#define FLOAT_OBJECT_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "abstract_adventure_map.h"
#include "map_renderer.h"

class t_float_object
{
public:
	t_float_object( t_adventure_object* object );
	~t_float_object();
protected:
	t_adventure_object* m_object;
};


inline t_float_object::t_float_object( t_adventure_object* object )
					 : m_object( object )
{
	object->on_move_begin();
}

inline t_float_object::~t_float_object()
{
	m_object->on_move_end();
}

#endif // FLOAT_OBJECT_HNCLUDED